<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改优惠劵信息</title>
<script type="text/javascript">
	var base = "${base}/";
</script>	
<!--框架必需-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery-1.7.1.js"></script>
<script type="text/javascript" src="${base}/scripts/framework.js"></script>
<script type="text/javascript" src="${base}/scripts/area/data.js"></script>
<script type="text/javascript" src="${base}/scripts/area/choosearea.js"></script>
<link href="${base}/css/import_basic.css" rel="stylesheet" type="text/css" />
<link href="${base}/css/sky/style.css" rel="stylesheet" type="text/css" />
<!--时间控件-->
<script src="${base}/scripts/form/datePicker/WdatePicker.js" type="text/javascript"></script>

</head>
<body>
	<div class="position">
		<div class="center">
			<div class="left">
				<div class="right">
					<span>当前位置：优惠劵管理 >> 修改优惠劵信息</span>
				</div>
			</div>
		</div>
	</div>
	<div class="box1" whiteBg="true">
		<form action="${base}/admin/coupon/update.action" method="post" target="coupon_right">
			<table class="tableStyle" transMode="true">
				<input type="hidden" name="coupon.id" id="coupon_id" value="${(coupon.id)!''}"/>
				<tr>
					<td>优惠劵编号：</td>
					<td>
						<input type="text" class="text_style"  name="coupon.couponNo" id="coupon.couponNo" value="${(coupon.couponNo)!''}"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>优惠劵名称：</td>
					<td>
						<input type="text" class="text_style" name="coupon.couponName" id="coupon.couponName" value="${(coupon.couponName)!''}"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>等价金额：</td>
					<td>
						<input type="text" class="text_style" name="coupon.equivalence" id="coupon.equivalence" value="${(coupon.equivalence)!''}"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>条件金额：</td>
					<td>
						<input type="text" class="text_style" name="coupon.requiredAmount" id="coupon.requiredAmount" value="${(coupon.requiredAmount)!''}"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>生效时间：</td>
					<td>
						<input type="text" class="date " style="width:150px;" name="coupon.effectiveDate" id="coupon.effectiveDate" value="${(coupon.effectiveDate?string('yyyy-MM-dd HH:mm:ss'))!''}"/>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>失效时间：</td>
					<td>
						<input type="text" class="date"  style="width:150px;" name="coupon.futileDate" id="coupon.futileDate" value="${(coupon.futileDate?string('yyyy-MM-dd HH:mm:ss'))!''}" />
						<spanc class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td>使用状态：</td>
					<td>
						<select name="coupon.status">
							<option value="0">未使用</option>
							<option value="1">已使用</option>
							<option value="2">已过期</option>
						</select>
						<span class="star">*</span>
						<span class="verror"></span>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" value=" 提 交 " />
						<input type="button" onclick="top.Dialog.close()" value=" 取 消" />
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>